import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { AdminComponent } from './admin.component';

import { AdminRoutingModule } from './admin-routing.module';
import {AuthGuard} from '../../service/auth-guard.service';
import {AuthGuardCompanyService} from '../../service/auth-guard-company.service';
import {AuthGuardTalentService} from '../../service/auth-guard-talent.service';
import {AuthService} from '../../service/auth.service';
import {TalentService} from '../../service/talent.service';
import {MaterialModule} from '../../material.module';
import {DelDialogComponent} from './del-dialog/del-dialog.component';

@NgModule({
  imports: [
    CommonModule,
    AdminRoutingModule,
    MaterialModule
  ],
  declarations: [
    AdminComponent,
    DelDialogComponent
  ],
  providers: [
    AuthGuard,
    AuthGuardCompanyService,
    AuthGuardTalentService,
    AuthService,
    TalentService
  ],
  entryComponents: [
    AdminComponent,
    DelDialogComponent
  ],
})
export class AdminModule {}
